Video MP3 system with apparatus and method for generating and restoring reduced video data

ABSTRACT

A video MP3 system including an audio/video (AV) decoder which further comprises a video decoder for restoring a moving picture signal in a MP3 player for restoring an audio signal, an apparatus and method for generating reduced video data which are appropriate for use in the video MP3 system, and an apparatus and method for restoring the reduced video data are provided. In the apparatus for generating reduced video data operated by a method for generating reduced video data, a video stream compressed according to rules of a MPEG is divided into a motion vector, a discrete cosine transform (DCT) DC coefficient, a DCT AC coefficient, and reduced video data, which are appropriate for use in the video MP3 system, are generated by using the motion vector, the discrete cosine transform (DCT) DC coefficient, and the DCT AC coefficient. In the apparatus for restoring reduced video data operated by a method for restoring reduced video data, an intra-frame is over-sampled by using a discrete cosine transform (DCT) DC coefficient and a DCT AC coefficient, and restored to a picture signal, and an inter-frame is motion compensated by using the motion vector and restored to a picture signal.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention relates to moving picture experts group (MPEG) video, and more particularly, to a video MP3 system.

[0003] 2. Description of the Related Art

[0004] MP3 is a moving picture experts group (MPEG) layer three and is one portion of MPEG audio techniques. The MPEG is a study group organized for standardizing the compression and multiplexing of moving pictures and sound by an international organization for standardization (ISO) and an international electrotechnical commission (IEC). An MP3 player stores an audio signal, which is reduced according to rules stipulated in MPEG layer 3, and reproduces the reduced audio signal as a real audio signal.

[0005]FIG. 1 is a block diagram of a conventional audio MP3 player. Referring to FIG. 1, the conventional MP3 player includes a data interfacing unit 10, a micro-computer 11, a key inputting unit 12, a memory device 13, a display 14, an audio decoder 15, an audio reproducer 16, and a speaker 17.

[0006] The data interfacing unit 10 receives compressed data DATA of an audio signal from an MP3 encoder (not shown). The micro-computer 11 controls the data interfacing unit 10, receives the compressed data DATA from the data interfacing unit 10, stores the compressed data DATA in the memory device 13, transmits the compressed data DATA stored in the memory device 13 to the audio decoder 15, and operates the display 14 according to signals received from the key inputting unit 12.

[0007] The key inputting unit 12 sends a command requested by a user to the micro-computer 11. The compressed data DATA is stored in the memory device 13 under the control of the micro-computer 11, and the display 14 performs a display command of the micro-computer 11. The audio decoder 15 receives the compressed data DATA and a command from the micro-computer 11 and decodes the compressed data DATA in response to the command of the micro-computer 11, the audio reproducer 16 receives a decoded signal from the audio decoder 15 to reproduce the decoded signal as an audio signal, and the reproduced signal is output through the speaker 17.

[0008] In the conventional audio MP3 player of FIG. 1, an audio signal compressed according to the rules of MP3 can be processed, but a video signal cannot be processed. This is the reason a video file must be compressed in accordance with an international standard such as MPEG video compression, and a moving picture can be reproduced only if the compressed data are decoded by using an exclusive decoder such as an MPEG video decoder.

[0009] Thus, in order to process the video signal, an exclusive video decoder and a medium for storing a video signal which is bigger than the audio signal are required. In the conventional portable audio MP3 player, the capacity of usable power supply is restrictive. Thus, in order to process the video signal, considerable modification of the conventional portable audio MP3 player is required.

SUMMARY OF THE INVENTION

[0010] To solve the above problem, it is a first object of the present invention to provide a video MP3 system including an audio/video (AV) decoder which comprises a video decoder capable of implementing a moving picture.

[0011] It is a second object of the present invention to provide an apparatus for generating reduced video data which are appropriate for use in the video MP3 system.

[0012] It is a third object of the present invention to provide an apparatus for restoring reduced video data.

[0013] It is a fourth object of the present invention to provide a method for generating reduced video data which is appropriate for use in the video MP3 system.

[0014] It is a fifth object of the present invention to provide a method for restoring reduced video data.

[0015] According to a first aspect of the present invention, there is provided a video MP3 system. The video MP3 system includes a data interfacing unit, a memory device, a micro-computer, an audio/video (AV) decoder, an audio reproducer, and a video reproducer. The data interfacing unit receives compressed data of an audio signal and reduced data of a video signal. The memory device inputs and outputs the compressed data of an audio signal and the reduced data of a video signal. The audio/video (AV) decoder receives the compressed data of the audio signal and the reduced data of the video signal from the micro-computer, decodes the received compressed data of the audio signal to output restored audio data, and decodes the received reduced data of the video signal to output restored video data. The micro-computer receives the compressed data of the audio signal and the reduced data of the video signal from the data interfacing unit, stores the compressed data and the reduced data in the memory device and outputs the compressed data and/or the reduced data stored in the memory device. The audio reproducer receives the restored audio data to reproduce the restored audio data as an audio signal. The video reproducer receives the restored video data to reproduce the restored video data as a video signal.

[0016] In one embodiment, the audio/video decoder includes an audio decoder for decoding the compressed data of the audio signal to output the restored audio data and a video decoder for decoding the reduced data of the video signal to output the restored video data.

[0017] The video decoder can include a de-multiplexer for receiving the reduced data of the video signal. An over-sampler receives a discrete cosine transform (DCT) DC coefficient and a DCT AC coefficient from the de-multiplexer to over-sample an intra-frame. A motion compensator receives fed back restored video data and a motion vector of the reduced data of the video signal from the de-multiplexer, motion compensates an inter-frame using the motion vector and outputs the motion compensated inter-frame. An adder logically adds an output signal of the over-sampler and an output signal of the motion compensator to output the restored video data.

[0018] In accordance with another aspect of the invention, there is provided an apparatus for generating reduced video data. The apparatus includes a variable length code decoder (VLD), an inverse quantizer (IQ), and a multiplexer. The VLD receives a moving picture experts group (MPEG) video stream and decodes motion displacements and discrete cosine transform (DCT) data of the received MPEG video stream to output a motion vector, a quantization scale, and a quantization coefficient. The IQ receives the quantization scale and the quantization coefficient and performs inverse quantization of the received quantization scale and quantization coefficient to output a DCT DC coefficient and a DCT AC coefficient. The multiplexer multiplexes the motion vector, the DCT DC coefficient, and the DCT AC coefficient to generate reduced video data.

[0019] In accordance with another aspect of the invention, there is provided an apparatus for restoring reduced video data. The apparatus includes a de-multiplexer, an over-sampler, a motion compensator, and an adder. The de-multiplexer receives reduced video data. The over-sampler receives a discrete cosine transform (DCT) DC coefficient and a DCT AC coefficient of the reduced video data from the de-multiplexer to over-sample an intra-frame. The motion compensator receives predetermined, fed back restored video data and a motion vector of the reduced video data from the de-multiplexer, motion compensates an inter-frame using the motion vector and outputs the motion compensated inter-frame. The adder logically adds an output signal of the over-sampler and an output signal of the motion compensator to output the restored video data.

[0020] In accordance with another aspect of the invention, there is provided a method for generating reduced video data. According to the method, an MPEG video stream is received, and motion displacements and discrete cosine transform (DCT) data of the received MPEG video stream are decoded to generate a motion vector, a quantization scale, and a quantization coefficient. The quantization scale and the quantization coefficient are received, and inverse quantization of the received quantization scale and quantization coefficient are performed, to generate a DCT DC coefficient and a DCT AC coefficient. The motion vector, the DCT DC coefficient, and the DCT AC coefficient are multiplexed to generate reduced video data.

[0021] In accordance with another aspect of the invention, there is provided a method for restoring reduced video data. In accordance with the method, reduced video data is received, and the received reduced video data is divided into a motion vector, a discrete cosine transform (DCT) DC coefficient, and a DCT AC coefficient. An intra-frame is over-sampled using the DCT DC coefficient and the DCT AC coefficient. An inter-frame is motion compensated using predetermined, fed back restored video data and the motion vector. An OR operation is performed on data having undergone the steps of over-sampling and motion compensation to generate the restored video data.

BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The foregoing and other objects, features and advantages of the invention will be apparent from the more particular description of a preferred embodiment of the invention, as illustrated in the accompanying drawings in which like reference characters refer to the same parts throughout the different views. The drawings are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention.

[0023]FIG. 1 is a block diagram illustrating an example of a conventional audio MP3 player.

[0024]FIG. 2 is a block diagram illustrating an embodiment of a video MP3 system according to the present invention.

[0025]FIG. 3 is a block diagram of an apparatus for generating reduced video data according to the present invention.

[0026]FIG. 4 is a circuit diagram of an apparatus for restoring reduced video data according to the present invention.

[0027]FIG. 5 illustrates a method for counting a DC value of an inter-frame using a DC value and a motion vector (MV) of a reference frame.

[0028]FIG. 6 illustrates a DC coefficient and two AC coefficients among discrete cosine transform (DCT) coefficients.

[0029]FIG. 7 illustrates an over-sampling method using the DCT DC coefficient and the two AC coefficients of FIG. 6.

[0030]FIG. 8 is a flowchart illustrating the steps of generating reduced video data in the apparatus for generating reduced video data according to the present invention.

[0031]FIG. 9 is a flowchart illustrating the steps of restoring reduced video data in the apparatus for restoring reduced video data according to the present invention.

DETAILED DESCRIPTION OF THE INVENTION

[0032]FIG. 2 is a block diagram illustrating an embodiment of a video MP3 system according to the present invention. Referring to FIG. 2, the video MP3 system includes a data interfacing unit 20, a micro-computer 21, a key inputting unit 22, an audio/video (AV) decoder 24, an audio reproducer 25, a speaker 26, a video reproducer 27, and a monitor 28.

[0033] The data interfacing unit 20 receives compressed data of an audio signal or reduced data of a video signal in response to a command of the micro-computer 21. The micro-computer 21 adjusts the data interfacing unit 20, receives data from the data interfacing unit 20 and stores the data in the memory device 23. The micro-computer 21 operates the monitor 28 in response to the signal of the key inputting unit 22, and transmits the compressed data stored in the memory device 23 to the AV decoder 24.

[0034] The key inputting unit 22 allows the micro-computer 21 to input a command so that a user can perform a desired function, and the memory device 23 inputs/outputs the data through the micro-computer 21. The AV decoder 24 includes an audio decoder 24-1 and a video decoder 24-2. The AV decoder 24 decodes the compressed data of the audio signal in response to the command of the micro-computer 21 in the audio decoder 24-1, transmits the compressed data to the audio reproducer 25, decodes the reduced data of the video signal in the video decoder 24-2 and transmits the reduced data to the video reproducer 27.

[0035] The operation of the video MP3 system according to signal flow of the compressed data will be described with reference to FIG. 2. The compressed data of the audio signal or the reduced data of the video signal, which are applied to the data interfacing unit 20 of the video MP3 system, are stored in the memory device 23 in response to the command of the micro-computer 21 and transmitted to the AV decoder 24 in response to another command of the micro-computer 21. The compressed data of the audio signal are decoded in the audio decoder 24-1, reproduced to an audio signal in the audio reproducer 25, and output through the speaker 26. The reduced data of the video signal are decoded in the video decoder 24-2, reproduced to a video signal in the video reproducer 27, and output through the monitor 28.

[0036] As described above, in the video MP3 system according to the present invention, the compressed data of the audio signal can be reproduced by using the audio decoder, and the reduced data of the video signal can be reproduced by using the video decoder.

[0037] Moving picture data used for display on a conventional PC monitor must be reduced to moving picture data which are appropriate for the size of a liquid crystal display (LCD) panel of a mobile phone similar to the size of a portable MP3 system according to the present invention.

[0038]FIG. 3 is a block diagram of an apparatus for generating reduced video data according to the present invention. Referring to FIG. 3, the apparatus for generating reduced video data includes a variable length decoder (VLD) 31, an inverse quantizer (IQ) 32, and a multiplexer 33.

[0039] The VLD 31 receives a moving picture experts group (MPEG) video stream and decodes motion displacements and discrete cosine transform (DCT) data. The IQ 32 receives a quantization scale (Q scale) and a quantization coefficient (QC) from the VLD 31, performs de-quantization, and outputs a DCT DC coefficient and a DCT AC coefficient. The multiplexer 33 receives a motion vector (MV) from the VLD 31 and the DCT DC coefficient and the DCT AC low frequency (LF) coefficient from the IQ 32, multiplexes the motion vector (MV), the DCT DC coefficient and the DCT AC low frequency (LF) coefficient, and outputs the reduced data (reduced video stream) of the video signal.

[0040] Referring back to FIG. 3, a method for generating reduced data of the video signal is to sort and multiplex the DCT low frequency coefficient and the motion vector of the MPEG video stream. In the MPEG for discrete-cosine-transforming one 8×8 (64)-pixel block and compressing data, the DCT DC coefficient denotes an average value for the 8×8 (64)-pixel block. In the case of using the DCT DC coefficient, one frame can be represented with 1/64 of the picture data to be indicated, thereby obtaining a down-sampling effect.

[0041] An over-sampling process must be performed to restore the size of a picture which is encoded to a MPEG. However, one or two low frequency (LF) coefficients (AC coefficients) among DCT coefficients is or are included in the reduced video picture. Also, in the MPEG, inter-frames are arranged between intra-frames which are references, thereby increasing compression efficiency using similarity between frames.

[0042] There are 15 frames in one group of pixels (GOP). Among them, a first frame is an intra-frame, and 14 inter-frames follow. In the case of the intra-frame, all the pixels included in the frame are decoded. However, in the case of the inter-frames, which are composed of a prediction (P) frame and a bi-direction (B) frame, only pixels which are varied with respect to similarity between intra-frame and the P frame and the B frame, are decoded.

[0043] One GOP I1 through B10 is as follows.

[0044] I1 B1 B2 P1 B3 B4 P2 B5 B6 P3 B7 B8 P4 B9 B10 12

[0045] Here, the first frame 11 is an intra-frame, and 14 frames from B1 through B10 and P1 through P4 are inter-frames. The last frame 12 of the column is a starting point of a new GOP.

[0046] All pixels belonging to the intra-frame I1 are decoded. Among the inter-frames, pixels belonging to a fourth frame P1, a seventh frame P2, a tenth frame P3, and a thirteenth frame P4 are also decoded.

[0047] However, the second frame BI is decoded on the basis of picture variation between the intra-frame 11 and the fourth frame P1. The third frame B2 is decoded on the basis of picture variation between the second frame B1 and the fourth frame P1. Similarly, the fifth frame B3 is decoded on the basis of picture variation between the fourth frame P1 and the seventh frame P2. Hereinafter, the remaining inter-frames are decoded by the following method.

[0048] In the case of an inter-frame among the inter-frames B1 through B10, variation of the inter-frame is very small in comparison with that of the front and rear frames. If the small amount of variation is indicated by using a motion vector and a motion vector is used to indicate data of each frame, the amount of data to be indicated for each frame can be reduced. The motion vector denotes the degree of motion with respect to an arbitrary reference frame and by obtaining an average motion vector for each block.

[0049] Thus, in order to generate the reduced video data which are appropriate for use in the video decoder according to the present invention, first, the intra-frame is composed of DC coefficients of a reference frame. Next, a DC value of the inter-frame is obtained by using the motion vector.

[0050]FIG. 4 is a circuit diagram of an apparatus for restoring reduced video data according to the present invention. Referring to FIG. 4, the apparatus for restoring reduced video data includes a de-multiplexer (DeMUX) 41, an over-sampler 42, a motion compensator (MC) 43, and an adder 44.

[0051] The DeMUX 41 receives a reduced video data and transmits a motion vector (MV) to the MC 43 and a DCT DC coefficient and a low frequency (LF) DCT AC coefficient to the over-sampler 42. The over-sampler 42 over-samples the DCT DC coefficient and AC coefficient, which are received from the de-multiplexer 41. The MC 43 receives the motion vector (MV), which is received from the DeMUX 41, and an output signal of the adder 44, and outputs a motion compensation signal to the adder 44. The adder 44 performs an AND operation of an output signal of the over-sampler 42 and the motion compensation signal output from MC 43.

[0052] The video data, which are reduced to an appropriate size by using the same method as that of FIG. 3, are input to the apparatus for restoring reduced video data of FIG. 4 and output as restored video data.

[0053] The apparatus for restoring reduced video data divides the received reduced video data into the motion vector (MV), the DCT DC coefficient, and the AC coefficient for each frame. That is, the intra-frame 11 is over-sampled by using the DCT DC coefficient and the AC coefficient and is restored to a video picture, and the inter-frames P1 through P4 and B1 through B10 pass through with a motion compensation process by using the motion vector (MV) and are restored to a video picture.

[0054]FIG. 5 illustrates a method for counting a DC value of an inter-frame using a DC value and a motion vector (MV) of a reference frame. Referring to FIG. 5, a DC value (DC(P_(ref))) for the present frame is obtained by Equation 1 based on the motion vector for a DC value of a reference frame (P_(ref)).

[0055] [Equation 1]

DC(P _(ref))=[(P ₁ ×w ₁ ×h ₁)+(P ₂ ×w ₂ ×h ₂)+(P ₃ ×w ₃ ×h ₃)+(P ₄ ×w ₄ ×h ₄)] w ₁ =w ₃=(8−x), h ₁ =h ₂=(8−y), w ₂ =w ₄ =x, h ₃ =h ₄ =y

[0056] Here, x and y denote motion vectors for the present frame, and P₁ through P₄ denote DC values of the reference frame indicated by the motion vectors.

[0057] If the reduced data are generated by using the DC value of the intra-frame and the motion vector of the inter-frame by the above method, the reduced data which is smaller than a data stream compressed according to the conventional MPEG can be generated so that it is considerably more advantageous to use the reduced data in a mobile phone using a small capacity memory.

[0058]FIG. 6 illustrates a DC coefficient and two AC coefficients among discrete cosine transform (DCT) coefficients. Referring to FIG. 6, the DCT DC coefficient is P, and the two AC coefficients are A1 and A2.

[0059]FIG. 7 illustrates an over-sampling method using the DCT DC coefficient and the two AC coefficients of FIG. 6. In FIGS. 7, A, B, C, and D can be indicated by Equation 2.

[0060] [Equation 2]

A=P

B=Pq Ps α

C=Pq Ps β

[0061] $D = {\frac{\left( {B + C} \right)}{2}\quad {or}\quad \frac{A + B + C}{3}}$

[0062] Referring to FIGS. 6 and 7, a picture is enlarged by two or four times by low frequency (LF) AC coefficients for over-sampling by adding or subtracting the AC coefficients for the DC coefficients to or from the DC coefficients according to directions.

[0063] For example, a vertical over-sampling value B is obtained by adding or subtracting a varied amount, that is, P×α (0≦α≦1), according to A1 of the DC value for the DC value P. Likewise, a horizontal over-sampling value C is obtained by adding or subtracting a varied amount, that is, P×β (0≧β≧1), according to A2 of the DC value for the DC value P. In order to over-sample by four times, the DC value has an average value between the vertical over-sampling value Band the horizontal over-sampling value C, or an average value of the vertical over-sampling value B, the horizontal over-sampling value C, and the DC value A.

[0064]FIG. 8 is a flowchart illustrating the steps of generating reduced video data in the apparatus for generating reduced video data according to the present invention. Referring to FIG. 8, an MPEG video stream is received and motion displacements and DCT data are decoded, thereby generating a quantization scale and a quantization coefficient (step 810). The quantization scale and the quantization coefficient, which are generated in step 810, are received, thereby performing inverse quantization and generating the DCT DC coefficient and the DCT AC coefficient (step 820). The motion vector in step 810 and the DCT DC coefficient and the DCT AC coefficient in step 820 are multiplexed (step 830).

[0065]FIG. 9 is a flowchart illustrating the steps of restoring reduced video data in the apparatus for restoring reduced video data according to the present invention. Referring to FIG. 9, reduced data are received (step 910). The reduced data received in a first step (step 910) are divided into a motion vector (MV), a DCT DC coefficient, and a DCT AC coefficient (step 920). An intra-frame is over-sampled by using the DCT DC coefficient and the DCT AC coefficient divided in step 920 (step 930). The data over-sampled in step 930 are restored to a video picture, and returning to step 910, decoding is continuously performed (step 950). An inter-frame is motion compensated by using the motion vector (MV) divided in step 920 (step 940). The data compensated in step 940 are restored to the video picture, and returning to step 910, decoding is continuously performed (step 960). If the reduced data are no longer applied, the above operation is completed (step 970).

[0066] As described above, a video MP3 system, an apparatus and method for generating reduced video data which are appropriate for use in the video MP3 system, and an apparatus and method for restoring the reduced video data according to the present invention can use a moving picture simultaneously as well as an audio signal.

[0067] While this invention has been particularly shown and described with reference to preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. 

What is claimed is:
 1. A video MP3 system comprising: a data interfacing unit for receiving compressed data of an audio signal and reduced data of a video signal; a memory device; a micro-computer for receiving the compressed data of the audio signal and the reduced data of the video signal from the data interfacing unit, storing the compressed data and the reduced data in the memory device, and outputting at least one of the compressed data and the reduced data stored in the memory device; an audio/video (AV) decoder for receiving the compressed data of the audio signal and the reduced data of the video signal from the micro-computer, decoding the received compressed data of the audio signal to output restored audio data, and decoding the received reduced data of the video signal to output restored video data; an audio reproducer for receiving the restored audio data to reproduce the restored audio data as an audio signal; and a video reproducer for receiving the restored video data to reproduce the restored video data as a video signal.
 2. The system as claimed in claim 1, wherein the audio/video decoder includes an audio decoder for decoding the compressed data of the audio signal to output the restored audio data and a video decoder for decoding the reduced data of the video signal to output the restored video data.
 3. The system as claimed in claim 2, wherein the video decoder comprises: a de-multiplexer for receiving the reduced data of the video signal; an over-sampler for receiving a discrete cosine transform (DCT) DC coefficient and a DCT AC coefficient from the de-multiplexer to over-sample an intra-frame; a motion compensator for receiving fed back restored video data and a motion vector of the reduced data of the video signal from the de-multiplexer, motion compensating an inter-frame by using the motion vector, and outputting the motion compensated inter-frame; and an adder for logically adding an output signal of the over-sampler and an output signal of the motion compensator to output the restored video data.
 4. An apparatus for generating reduced video data, the apparatus comprising: a variable length code decoder (VLD) for receiving a moving picture experts group (MPEG) video stream and decoding motion displacements and discrete cosine transform (DCT) data of the received MPEG video stream to output a motion vector, a quantization scale, and a quantization coefficient; an inverse quantizer (IQ) for receiving the quantization scale and the quantization coefficient and performing inverse quantization of the received quantization scale and quantization coefficient to output a DCT DC coefficient and a DCT AC coefficient; and a multiplexer for multiplexing the motion vector, the DCT DC coefficient, and the DCT AC coefficient to generate reduced video data.
 5. An apparatus for restoring reduced video data, the apparatus comprising: a de-multiplexer for receiving reduced video data; an over-sampler for receiving a discrete cosine transform (DCT) DC coefficient and a DCT AC coefficient of the reduced video data from the de-multiplexer to over-sample an intra-frame; a motion compensator for receiving predetermined, fed back restored video data and a motion vector of the reduced video data from the de-multiplexer, motion compensating an inter-frame by using the motion vector, and outputting the motion compensated inter-frame; and an adder for logically adding an output signal of the over-sampler and an output signal of the motion compensator to output the restored video data.
 6. A method for generating reduced video data, the method comprising: receiving an MPEG video stream, decoding motion displacements and discrete cosine transform (DCT) data of the received MPEG video stream to generate a motion vector, a quantization scale, and a quantization coefficient; receiving the quantization scale and the quantization coefficient and performing inverse quantization of the received quantization scale and quantization coefficient to generate a DCT DC coefficient and a DCT AC coefficient; and multiplexing the motion vector, the DCT DC coefficient, and the DCT AC coefficient to generate reduced video data.
 7. A method for restoring reduced vide data, the method comprising: receiving reduced video data; dividing the received reduced video data into a motion vector, a discrete cosine transform (DCT) DC coefficient, and a DCT AC coefficient; over-sampling an intra-frame using the DCT DC coefficient and the DCT AC coefficient; motion compensating an inter-frame using predetermined, fed back restored video data and the motion vector; and performing an OR operation of data having undergone the steps of over-sampling and motion compensation to generate the restored video data. 